<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "award".
 *
 * @property string $id
 * @property integer $gross_num
 * @property integer $residue_num
 * @property string $name
 * @property string $probability
 * @property string $intro
 * @property string $state
 * @property integer $create_time
 */
class BookArticle extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'book_article';
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'title' => '书名',
            'create_time' => '收录时间',
            'content' => '内容',
        ];
    }

}
